<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>杨立滨的读书笔记</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="杨立滨的读书笔记">
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/themes/vue.css" />
  <link rel="stylesheet" href="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/style.min.css">
  <link rel="stylesheet" href="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.css">
  <link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
  <style>
    .markdown-section code {
      font-weight: 400;
    }

    article>p>img {
      background-color: #f4f4f4;
    }
  </style>
</head>

<body>
  <nav>
    <a href="#/docs/tech/README">Tech</a>
    <a href="#/docs/other/README">Other</a>
  </nav>
  <div id="app">Welcome to Yang's Reading</div>
  <script>
    window.$docsify = {
      name: 'Reading',
      auto2top: true,
      search: [
        '/'
      ],
      darklightTheme: {
        defaultTheme: 'light',
        siteFont: 'Source Sans Pro,Helvetica Neue,Arial,sans-serif',
        codeFontFamily: 'Roboto Mono, Monaco, courier, monospace',
        bodyFontSize: '15px',
        dark: {
          background: 'rgb(28,32,34)',
          highlightColor: '#e96900',
          codeBackgroundColor: 'rgb(34,39,46)',
          codeTextColor: '#b4b4b4',
        },
        light: {
          highlightColor: '#e96900',
        }
      },
      plugins: [
        function (hook, vm) {
          hook.beforeEach(function (content) {
            if (/githubusercontent\.com/.test(vm.route.file)) {
              url = vm.route.file
                .replace("raw.githubusercontent.com", "github.com")
                .replace(/\/main/, "/blob/main");
            } else {
              url =
                "https://github.com/yanglbme/reading/blob/main/" +
                vm.route.file;
            }
            const github = `[GitHub](${url})`;
            const gitee = `[Gitee](${url.replace("github", "gitee")})`;
            const editHtml = `:memo: Edit on ${github} / ${gitee}\n`;
            return editHtml + content;
          });
          hook.afterEach(function (html) {
            const currentYear = new Date().getFullYear()
            const footer = `<footer><span>Copyright © 2018-${currentYear} <a href="https://github.com/yanglbme" target="_blank">Yang Libin</a>. All Rights Reserved</footer>`
            return html + footer;
          });
        }
      ]
    }
  </script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/docsify.min.js"></script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-copy-code@2.1.1/dist/docsify-copy-code.min.js"></script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/search.js"></script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/zoom-image.js"></script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/gitalk.min.js"></script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.min.js"></script>
  <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/index.min.js"></script>
  <script>
    const gitalk = new Gitalk({
      clientID: 'a0a4114545ef4b887f2f',
      clientSecret: 'a316393f3561d0c77a216418478cd3a27a897f63',
      repo: 'reading',
      owner: 'yanglbme',
      admin: ['yanglbme'],
      number: 2,
      distractionFreeMode: true,
      labels: ['talk'],
      title: 'Weekly Reading',
      perPage: 15,
    })
  </script>
</body>

</html>